export const userRoutes = [
  {
    path: '/user',
    component: resolve => require(["./user.component.vue"], resolve),
    meta: {
      crumbName: '用户'
    },
    children: 
    [
      {
        path: '',
        name: '我的列表',
        component: resolve => require(["../mine_list.vue"], resolve),
        meta: {
          level: 1
        }
      },
      {
        path: 'password',
        name: '找回密码',
        component: resolve => require(["../password.vue"], resolve),
        meta: {
          level: 2
        }
      },
      {
        path: 'msg',
        name: '我的资料',
        component: resolve => require(["../mine_msg.vue"], resolve),
        meta: {
          level: 2
        }
      },
      {
        path: 'set',
        name: '我的设置',
        component: resolve => require(["../mine_set.vue"], resolve),
        meta: {
          level: 2
        }
      },
      {
        path: 'set/version',
        name: '版本',
        component: resolve => require(["../version.vue"], resolve),
        meta: {
          level: 2
        }
      },
      {
        path: 'set/aboutus',
        name: '关于我们',
        component: resolve => require(["../about_us.vue"], resolve),
        meta: {
          level: 2
        }
      }, {
        path: 'settle',
        name: '结算单',
        component: resolve => require(["../mine_settle.vue"], resolve),
        meta: {
          level: 2
        }
      }, {
        path: 'settleDetail',
        name: '结算单详情',
        component: resolve => require(["../mine_settle_detail.vue"], resolve),
        meta: {
          level: 3
        }
      }
    ]
  }
]